_____________________________________________________________________________

                              C l e a n J P E G
                              
                           JPEG optimisation tool

                           Written by David Thomas
                        for Sliced Software,  1998-9

                         version 1.00 (27 Jul 1999)
_____________________________________________________________________________


Introduction

CleanJPEG makes your JPEG images take up less disc space and ensures they can
be displayed by RISC OS's JPEG handler.

It reads in a JPEG image and writes it out in its smallest form, removing all
unnecessary data.  This can typically save 5% of the file size.  The
transformation is lossless since no image data is changed; only the
surrounding headers and encoding tables are altered.

CleanJPEG will always output an optimised non-progressive JPEG image, no
matter what the input image is.  This ensures that all images are compatible
with RISC OSs internal JPEG handler, as used by Draw, Paint, Browse,
PhotoFiler, etc.

This software may be used and redistributed free of charge.


Requirements

RISC OS 3.5 or later and at least 2Mb free RAM.


Usage

Drag the image you would like processed to the CleanJPEG icon bar icon.  The
image will be loaded, optimised and then saved in place of the orginal file. 
Once completed, a dialogue will open showing you any savings made.

If you drag a directory to the CleanJPEG icon bar icon, then all JPEGs
contained in that directory and its subdirectories will be processed.

Not all images may shrink once processed with CleanJPEG.  This may be because
the image was truncated - in which case the remainder of the file will be
padded out - or because the image has been assembled with tables missing. 
Either way, CleanJPEG always outputs a correct JPEG file.


Credits

This software is based in part on the work of the Independent JPEG Group.
(It's basically a desktop version of the 'jpegtran' utility.)


Future

Replace status windows with a FilerAction style window; the present way isn't
very clear when cleaning whole directories.


Copyright

This software is the copyrighted work of David Thomas.  It is supplied as
is; you use it entirely at your own risk.  In no circumstances will the
author be liable for any loss arising from the use or inability to use this
software.  The author makes no warranty as to the fitness of this software
for any purpose.


Contacting the Author

If you have any comments, bug reports or suggestions for future versions then
you can contact me via:

          Post: Mr D.P. Thomas
                20 Rosebery Avenue
                Waterloo
                Liverpool
                L22 2BH

          Mail: cleanjpeg@sliced.demon.co.uk
            or  dpt@tristone.co.uk

           Web: http://www.sliced.demon.co.uk/software/cleanjpeg/
            or  http://www.tristone.co.uk/davespace/

If you have a question, then please check it has not already been answered in
this documentation before mailing.

_____________________________________________________________________________

